package com.student.liu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 商品 厨师类
 */
@Data
public class Cook {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String sex;
    private LocalDateTime register_time;
    private Boolean usable;

    public Cook() {
    }

    public Cook(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public Cook(String username, String password, String nickname, String sex) {
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.sex = sex;
    }

}
